#ifndef TEMPTHREAD_H
#define TEMPTHREAD_H

#include <QObject>
#include <QTcpSocket>
#include <QDebug>

class tempthread : public QObject
{
    Q_OBJECT
public:
    explicit tempthread(QObject *parent = nullptr);
    ~tempthread();
    void run();
signals:
    void tempDataReceived(const QString &data);
private:
     QTcpSocket *socket;
};

#endif // TEMPTHREAD_H
